package com.tx.studentManager.exception;

/**
 * 
 * @描述 自定义基础异常类
 * @since studentManager-admin 1.0
 * @version 1.0 2015-9-18 下午2:53:27
 * @author 此生唯晴
 */
public class BaseException extends Exception {

	public BaseException(String code, String message) {
		super(message);
		this.code = code;
	}

	private static final long serialVersionUID = 7193403524582578886L;

	private String code;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
